<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColCompanyToActivityJoinTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('activity_join', function(Blueprint $table)
        {
            $table->string('company')->nullable()->comment('公司')->after('phone');
            $table->string('position')->nullable()->comment('岗位')->after('company');
            $table->string('email')->nullable()->comment('邮箱')->after('position');
            $table->string('remark')->nullable()->comment('备注')->after('email');

        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
